package com.taowan.xunbaozl.morning_speak.design_pattern.day10;

/**
 * Created by 杨观回 on 2016/3/3 0003.
 */
public class Invoker {
    private Command command;

    public Invoker(Command command) {
        this.command = command;
    }

    public void action() {
        command.exec();
    }
}
